//
// Created by wze-zero on 2024/10/17.
//
#include <iostream>
#include <string>

using namespace std;

int main() {
    string s, s1, s2;
    int pos;
    while (getline(cin, s)) {
        for (int i = 0; i < s.size(); ++i) {
            if (s.at(i) == ' ') {
                pos = i;
            }
        }
        s1 = s.substr(0, pos);
        s2 = s.substr(pos + 1, s.size());
        (s1 == "admin" && s2 == "admin") ? cout << "Login Success!" << endl : cout << "Login Fail!" << endl;
    }
    return 0;
}